<div id="maincontent">

<%= render :partial => "shared_common_files/data_area_help_bar" %>

    <% for name in [:simplemsg] %>
    <% if flash[name] %>
      <%= "<div class='message-justmsg'> #{flash[name]} </div>" %>
    <% end %>
  <% end %>
  
    <% for name in [:notice, :warning, :message] %>
    <% if flash[name] %>
      <%= "<div class='message-fatal'> #{flash[name]} </div>" %>
    <% end %>
  <% end %>
  
    

<h2>Listing Permissions</h2>
<h5>List of all permissions</h5>

  <div >
      

<%=renderBasicListPanel(@content_columns, @permissions, true, @permission_pages, {"delete_alias"=> "delete"})%>

	
 	 </div>
 	 <br/>
<div class="list">

	<table>
	     <th>Actions</th>
         <tr class="even">
            <td>
              <!-- %= link_if_authorized submit_tag('Create New Permission'), {:action => 'new'}  % -->
              <!-- %= link_if_authorized submit_tag('Cancel'), {:controller => "/controlpanel" ,:action => 'list'}  % -->
              
              <%= link_if_authorized image_tag('/themes/odotclassic/images/btn_createnewperm.png', :alt =>'Create Permission'), {:action => 'new'}  %>
			  <%= link_if_authorized image_tag('/themes/odotclassic/images/btn_cancel.gif', :alt =>'Cancel'), {:controller => "/controlpanel" ,:action => 'list'}  %>
            </td>
         </tr>  
               
	</table>

</div>
</div>